package com.proxyIp;

import android.content.Context;
import android.preference.Preference;
import android.view.View;
import android.widget.TextView;

public class NoProxyIp extends Preference {
    
    private TextView mAddIp;
    private String mIpString;
    
    public NoProxyIp(Context context,String ipString) {
        super(context);
        this.mIpString=ipString;
        setLayoutResource(R.layout.no_proxy_ip);
    }
    @Override
    protected void onBindView(View view) {
        mAddIp=(TextView) view.findViewById(R.id.no_proxy_ip);
        mAddIp.setText(mIpString);
    }
    public String getIpString() {
        return mIpString;
    }
    public void setIpString(String mIpString) {
        this.mIpString = mIpString;
    }
    

}
